<!DOCTYPE html>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!--360浏览器优先以webkit内核解析-->
    <title>人体运动功能检测评估报告</title>
    <link rel="shortcut icon" href="favicon.ico">
    <link href="../static/css/bootstrap.min.css" th:href="@{/css/bootstrap.min.css}" rel="stylesheet"/>
    <link href="../static/css/font-awesome.min.css" th:href="@{/css/font-awesome.min.css}" rel="stylesheet"/>
    <link href="../static/css/style.min.css" th:href="@{/css/style.min.css}" rel="stylesheet"/>
</head>

<body class="gray-bg">
    <div class="wrapper wrapper-content">
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>选择点位</h5>
                        <div class="ibox-tools">
                            <a class="collapse-link">
                                <i class="fa fa-chevron-up"></i>
                            </a>
                            <a class="dropdown-toggle" data-toggle="dropdown" href="#">
                                <i class="fa fa-wrench"></i>
                            </a>
                            <ul class="dropdown-menu dropdown-user">
                                <li><a href="#">选项1</a>
                                </li>
                                <li><a href="#">选项2</a>
                                </li>
                            </ul>
                            <a class="close-link">
                                <i class="fa fa-times"></i>
                            </a>
                        </div>
                    </div>
                    <div class="ibox-content">
                        <form form id="form-foot" class="form-horizontal">
                            <div class="form-group">
                                <label class="col-sm-2 control-label">鞋码</label>
                                <div class="col-sm-10">
                                    <select class="form-control m-b" name="shoesize">
                                        <option th:text="35" th:value="35"></option>
                                        <option th:text="36" th:value="36"></option>
                                        <option th:text="37" th:value="37"></option>
                                        <option th:text="38" th:value="38"></option>
                                        <option th:text="39" th:value="39"></option>
                                        <option th:text="40" th:value="40"></option>
                                        <option th:text="41" th:value="41"></option>
                                        <option th:text="42" th:value="42"></option>
                                        <option th:text="43" th:value="43"></option>
                                        <option th:text="44" th:value="44"></option>
                                        <option th:text="45" th:value="45"></option>
                                        <option th:text="46" th:value="46"></option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">左脚</label>
                                <div class="col-sm-10">
                                    <label class="checkbox-inline">
                                        <input name="leftfoot" type="checkbox" value="1">1</label>
                                    <label class="checkbox-inline">
                                        <input name="leftfoot" type="checkbox" value="2">2</label>
                                    <label class="checkbox-inline">
                                        <input name="leftfoot" type="checkbox" value="3">3</label>
                                    <label class="checkbox-inline">
                                        <input name="leftfoot" type="checkbox" value="4">4</label>
                                    <label class="checkbox-inline">
                                        <input name="leftfoot" type="checkbox" value="5">5</label>
                                    <label class="checkbox-inline">
                                        <input name="leftfoot" type="checkbox" value="6">6</label>
                                    <label class="checkbox-inline">
                                        <input name="leftfoot" type="checkbox" value="7">7</label>
                                    <label class="checkbox-inline">
                                        <input name="leftfoot" type="checkbox" value="8">8</label>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">右脚</label>
                                <div class="col-sm-10">
                                    <label class="checkbox-inline">
                                        <input name="rightfoot" type="checkbox" value="1">1</label>
                                    <label class="checkbox-inline">
                                        <input name="rightfoot" type="checkbox" value="2">2</label>
                                    <label class="checkbox-inline">
                                        <input name="rightfoot" type="checkbox" value="3">3</label>
                                    <label class="checkbox-inline">
                                        <input name="rightfoot" type="checkbox" value="4">4</label>
                                    <label class="checkbox-inline">
                                        <input name="rightfoot" type="checkbox" value="5">5</label>
                                    <label class="checkbox-inline">
                                        <input name="rightfoot" type="checkbox" value="6">6</label>
                                    <label class="checkbox-inline">
                                        <input name="rightfoot" type="checkbox" value="7">7</label>
                                    <label class="checkbox-inline">
                                        <input name="rightfoot" type="checkbox" value="8">8</label>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="col-sm-4 col-sm-offset-2">
                                    <button type="button" class="btn btn-sm btn-primary" onclick="submitShoepad()"><i class="fa fa-check"></i>提交</button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script th:src="@{/js/jquery.min.js}"></script>
    <script th:src="@{/js/bootstrap.min.js}"></script>
    <script th:src="@{/ajax/libs/layer/layer.min.js}"></script>
    <script th:src="@{/js/sockjs.min.js}"></script>
    <script th:src="@{/js/stomp.js}"></script>
    <th:block th:include="include :: footer" />
    <th:block th:include="include :: select2-js" />
    <script type="text/javascript">
        function submitShoepad(){
            var data = $("#form-foot").serializeArray();

            $.ajax({
                type: "post",
                dataType: "json",
                url: "/common/createGcode",
                data: data,
                success: function (res) {
                    $.modal.msgSuccess('提交成功！');
                }
            })
        }
    </script>
</body>
</html>
